package com.tanhua.dubbo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tanhua.domain.db.Questions;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface OptionMapper extends BaseMapper<Questions> {
    @Select("SELECT * FROM tb_questions WHERE question_id=#{questionId} and option_id=#{optionId}")
    Questions findScore(Integer questionId, Integer optionId);

}
